package com.riku.security.mapper;

import com.riku.security.model.SeRoleMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SeRoleMenuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SeRoleMenu record);

    int insertSelective(SeRoleMenu record);

    SeRoleMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SeRoleMenu record);

    int updateByPrimaryKey(SeRoleMenu record);

    int deleteByRoleId(Long id);

    List<SeRoleMenu> selectByRoleId(Long roleId);
}